package com.isoftstone.userinfo.service;

import com.isoftstone.platform.entity.PadingRstType;
import com.isoftstone.platform.entity.PagingBean;
import com.isoftstone.platform.model.entity.PtUserEntity;
import com.isoftstone.userinfo.entity.RoleTreeEntity;
import com.isoftstone.userinfo.entity.SearchUserInfoEntity;
import com.isoftstone.userinfo.entity.UserInfoTreeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoServicee {



    List<UserInfoTreeEntity> queryUserInfoZtreeList(String id);
    List<RoleTreeEntity> queryRoleInfoZtreeList(String id);

    PadingRstType<PtUserEntity> getUserInfolist(SearchUserInfoEntity search, PagingBean pagingBean);

    void updateUserDail(PtUserEntity ptUserEntity);

    void addUserInfo(PtUserEntity ptUserEntity);

    List<PtUserEntity> queryUserInfoById(String id);

    void bondRoleUser(String[] roleUuid, String userUuid);

    void cancelRoleBound(String userUuid);

    void deleteUserInfo(@Param("ids") String idArray);
}
